// default config
module.exports = {
	workers: 1,
	port: 8360,
	startServerTimeout: 3000,
	reloadSignal: 'SIGUSR2',
	stickyCluster: true,
	errnoField: 'code',
	errmsgField: 'msg',
	defaultErrno: 1000,
	validateDefaultErrno: 1010,
	onUnhandledRejection: err => think.logger.error(err),
	onUncaughtException: err => think.logger.error(err),
	jsonpCallbackField: 'callback',
	jsonContentType: 'application/json',
	weixin: {
		appid: 'wx6a694e985c565a2d', // 小程序 appid
		secret: 'dba6abe0ce89e1aaed4151ab1e33fe98', // 小程序密钥
		mch_id: '', // 商户帐号ID
		partner_key: '', // 微信支付密钥
		notify_url: '' // 微信异步通知，例：https://www.nideshop.com/api/pay/notify
	}
};
